package pro.lepers.portfolio.view.contents.contact {
	import fr.digitas.flowearth.ui.text.StyledLabel;

	import flash.display.MovieClip;
	import flash.display.Sprite;

	/**
	 * @author plepers
	 */
	public class Header extends Sprite {
		
		
		
		public var nom : StyledLabel;
		public var func : StyledLabel;
		public var icon : MovieClip;

		
		
		
		public function Header () {
			_build();
		}
		
		public function setDatas (datas : XML) : void {
			nom.text = datas.nom.text();
			func.text = datas.func.text();
			func.y = nom.y + nom.height - 8;
		}
		
		private function _build () : void {
			nom.styleName = ".contact_title";
			func.styleName = ".contact_item";
		}
	}
}
